package org.springframework.learn.beans.note.order;

import org.springframework.context.event.EventListenerFactory;
import org.springframework.core.annotation.AnnotationAwareOrderComparator;

import java.util.ArrayList;
import java.util.List;

/**
 * Description
 * Copyright © 启明星辰 版权所有
 *
 * @author chenjiquan
 * @date 2024-08-08
 */
public class OrderComparator {
	public static void main(String[] args) {
		List<EventListenerFactory> factories = new ArrayList<>();
		// 排序
		AnnotationAwareOrderComparator.sort(factories);
	}
}
